package com.yike.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yike.user.entity.UserCategory;
import com.yike.user.param.UserCategoryPageParam;

import com.yike.user.vo.UserCategoryVo;
import org.apache.ibatis.annotations.Mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

/**
 * 用户类型 Mapper 接口
 *
 * @author Sakura
 * @since 2024-10-31
 */
@Mapper
public interface UserCategoryMapper extends BaseMapper<UserCategory> {

    UserCategoryVo getUserCategoryVo(@Param("id") Long id);

    IPage<UserCategoryVo> getUserCategoryList(@Param("page") Page page, @Param("param") UserCategoryPageParam param);


}
